//
//  DishPhotoView.h
//  XRmenu
//
//  Created by Chow Akins on 11-3-20.
//  Copyright 2011 E0571. All rights reserved.
//

#import "XRmenuBaseView.h"
#import "DishControl.h"
#import "DishRelateView.h"
#import "Product.h"
#import "DishOperView.h"
#import "DishDetailView.h"

@interface DishPhotoView : XRmenuBaseView<dishControlDelegate,DishOperViewDelegate,dishDetailDelegate>{	
	NSInteger dishNo;
	NSArray *arrDish;
	Product *curProduct;
	
	
	DishControl *controlView;
	DishRelateView *relateView;
}

@property (retain) AVAudioPlayer *bgMusic;
@property (nonatomic, retain) Product *curProduct;

-(id) initWithStyle:(NSString *)stylename DishSubViewName:(NSString *)vname DishId:(NSString *)dishid;
-(void)showDish;

-(void)DisplayTerimalView:(BOOL)isShowTerimal isTheFinished:(BOOL)isTheFinished;

-(void)DisplayDishContrl;
-(void)refreshControlStatus;
-(void)DisplayRelateDish;
-(void)doDishLayer;
-(void)clearOperView;
//-(void)reSetXY:(UIView *)xView setX:(CGFloat)X setY:(CGFloat)Y;
@end
